
{% extends 'base.html.twig' %}

{% block stylesheets %}
<style>
    #body {
        padding-top: 100px; font-size: 22px; text-align: center; background-color: #fff;
    }
    table {
        width: 100%;
    }
    tr {
        border: 1px solid #000;
        text-align: center;
        border-collapse:collapse; padding: 3px 7px;
    }
</style>
{% endblock %}

{% block body %}

<div class="content">
    <div class="title">共有 {{ total }} 名用户</div>
    
    <table>
        <tr>
            <td>昵称</td>
            <td>姓名</td>
            <td>电话</td>
        </tr>
        {% for winner in winners %}
        <tr>
            <td>{{ winner.nick }}</td>
            <td>{{ winner.name }}</td>
            <td>{{ winner.mobile }}</td>
        </tr>
        {% endfor %}
    </table>    
    
</div>

{% endblock %}

